package com.zookeeper.web.handler;

import com.zookeeper.base.core.dto.index.UserVo;
import com.zookeeper.base.core.interfaces.base.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author zhaobaolin
 * @Date 2018/10/28
 */
@Component
public class IndexHandler {

    @Autowired
    private IUserService userService;

    public UserVo index()
    {
        UserVo userVo = userService.userDetail();
        return userVo;
    }
}
